<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>  
<html>
<head>
<title>华氏银行欢迎您</title>
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Lato"
	rel="stylesheet">
<link rel='stylesheet prefetch'
	href='https://fonts.googleapis.com/icon?family=Material+Icons'>
	
<style>
a:link {color:gray;}    /* 未被访问的链接 */
a:visited {color:gray;} /* 已被访问的链接 */
a:hover {color:#FF00FF;}   /* 鼠标指针移动到链接上 */
a:active {color:#0000FF;}  /* 正在被点击的链接 */
</style>

</head>
<body>
	<div class="cotn_principal">
		<div class="cont_centrar">
			<br> <img class="logo" src="images/logo.gif" />
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<!-- <img class = "titleimg" src="images/title.png" /> -->
			<div class="cont_login">
				<div class="cont_info_log_sign_up">
					<div class="col_md_login">
						<div class="cont_ba_opcitiy">
							<h2><bean:message key="index.login"/></h2>
							<p><bean:message key="index.info1"/></p>
							<button class="btn_login" onClick="cambiar_login()"><bean:message key="index.login"/></button>
						</div>
					</div>
					<div class="col_md_sign_up">

						<div class="cont_ba_opcitiy">
							<h2><bean:message key="index.register"/></h2>
							<p><bean:message key="index.info2"/></p>
							<button class="btn_sign_up" onClick="cambiar_sign_up()"><bean:message key="index.register"/></button>
						</div>
					</div>
				</div>
				<div class="cont_back_info">
					<div class="cont_img_back_grey">
						<img src="po.jpg" alt="" />
					</div>
				</div>
				<div class="cont_forms">
					<div class="cont_img_back_">
						<img src="po.jpg" alt="" />
					</div>
					
					<!-- 登录表单 -->
					<form id="formid" name="myform" method='post' action='loginAndregister.do?command=login'
						onsubmit="return cambiar_login2();">
						<div class="cont_form_login">
							<a href="#" onClick="ocultar_login_sign_up()"><i
								class="material-icons">&#xE5C4;</i></a>
							<h2><bean:message key="index.login"/></h2>
							<input id="username" type="text" placeholder="<bean:message key="index.username"/>"
								name="username" /> <input id="password" type="password"
								placeholder="<bean:message key="index.password"/>" name="password" />
							<button class="btn_login"><bean:message key="index.login"/></button>
						</div>
					</form>
					
					<!-- 注册表单 -->
					<form id="formid2" name="myform2" method='post' action='loginAndregister.do?command=register' 
						onsubmit="return cambiar_sign_up2();">
						<div class="cont_form_sign_up">
							<a href="#" onClick="ocultar_login_sign_up()"><i class="material-icons">&#xE5C4;</i></a>
							<h2><bean:message key="index.register"/></h2>
							<input id="reusername" type="text" placeholder="<bean:message key="index.username"/>" name="reusername" />
							<input id="repassword" type="password" placeholder="<bean:message key="index.password"/>" name="repassword" /> 
							<input id="conpassword" type="password" placeholder="<bean:message key="index.repassword"/>" name="conpassword" />
							<button class="btn_sign_up"><bean:message key="index.register"/></button>
						</div>
					</form>
				</div>
			</div>
		</div>
		
			&nbsp;<br>
			<p>	<bean:message key="chose.language"/>
				<a href="changelang.do?lang=zh">:中文</a>&nbsp;&nbsp;&nbsp;
				<a href="changelang.do?lang=en">English</a><br>
				<a href="#"><bean:message key="index.about"/></a> | <a href="#"><bean:message key="index.weibo"/></a>
				 | <a href="#"><bean:message key="index.privacy.policy"/></a> | <a href="#"><a href="#"><bean:message key="index.join"/></a>
			</p>
			<p>华氏集团 (建设中) Copyright © 2018 仅供学习交流</p>
	</div>
	<script src="js/index.js"></script>
</body>
</html>

